<?php


class SelectDelivery extends Connection {
	private $conn;
	public $stocks_number;



	public function __construct() {
		Connection::init();
		$this->conn = $this->getConnection();
	}


	public function extractDelivery($id){
		$stmt = $this->conn->prepare("	select days
														from delivery
														where id =  ? ");
		$stmt->bindValue(1, (int)$id, PDO::PARAM_INT);
		$stmt->execute();
		return $stmt->fetchColumn();
	}


}
?>